package utl;

import java.sql.SQLException;
import java.util.List;
import java.util.Set;

import Dao.Comment;
import Dao.User;


public interface JdbcInterface {
	void update(String name,String sno) throws SQLException;
	void insert(User s) throws SQLException;
	void delete(String sno) throws SQLException;
	Set<User> queryAll() throws SQLException;
	void close() throws Exception;
	String query(String name) throws SQLException;
	List<Comment> cqueryAll() throws SQLException;
}
